package com.spic.business.train.trainInfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.business.train.plan.domain.TrainPlan;
import com.spic.business.train.plan.domain.TrainPlanShift;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 培训信息对象 train_info
 * 
 * @author spic
 * @date 2021-10-15
 */
public class TrainInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;




    /** 删除状态 0正常 1删除 */

    private Integer deleteFlag;

    /** 培训方案id */

    private String planId;
    /** 培训方案对象 */

    private TrainPlan trainPlan =new TrainPlan();

    /** 培训班次id */
    private String trainPlanShiftId;
    /** 培训方案对象 */

    private TrainPlanShift trainPlanShift =new TrainPlanShift();


    /** 执行进度 0培训开始  1待考核 2考试中 3培训结束 */

    private Integer implementState;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public TrainPlan getTrainPlan() {
        return trainPlan;
    }

    public void setTrainPlan(TrainPlan trainPlan) {
        this.trainPlan = trainPlan;
    }

    public String getTrainPlanShiftId() {
        return trainPlanShiftId;
    }

    public void setTrainPlanShiftId(String trainPlanShiftId) {
        this.trainPlanShiftId = trainPlanShiftId;
    }

    public TrainPlanShift getTrainPlanShift() {
        return trainPlanShift;
    }

    public void setTrainPlanShift(TrainPlanShift trainPlanShift) {
        this.trainPlanShift = trainPlanShift;
    }

    public int getImplementState() {
        return implementState;
    }

    public void setImplementState(int implementState) {
        this.implementState = implementState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

            .append("id", getId())

            .append("deleteFlag", getDeleteFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("planId", getPlanId())

            .append("implementState", getImplementState())

            .toString();
    }
}
